package com.woniuxy.woniufp.bank;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@ComponentScan({"com.woniuxy.woniufp.bank","com.woniuxy.woniufp.common.model"})
@MapperScan("com.woniuxy.woniufp.bank.mapper")
@EnableRabbit  //启动 MQ
public class BankApplication {
    public static void main(String[] args) {
        SpringApplication.run(BankApplication.class, args);
    }
}